adc_waf_bot_profile_config

Configuration for Bot Profile Configuration Info resource.

Read/write properties

sb_version_info<String>

Stylebook Version Info.

sb_type<String>

Stylebook Type WAF or BOT.

configpack_id<String>

configpack_id.

adc_vserver_profile_info<adc_waf_bot_vserver_info[]>

NetScaler Vserver info object.

is_global<Boolean>

Bot Global Policy or Bot Vserver Level Policy.

stylebook_params<String>

Stylebook Parameter.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

updateget (all)deleteadd

update

URL:https://<MGMT-IP>/nitro/v2/config/adc_waf_bot_profile_config/

HTTPS Method:PUT

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"adc_waf_bot_profile_config":{
      "is_global":<Boolean_value>,
      "adc_vserver_profile_info":[{
      "instance_id":<String_value>,
      "ns_ip_address":<String_value>,
      "vserver_name":<String_value>,
      "vserver_type":<String_value>}]
,
      "configpack_id":<String_value>,
      "sb_version_info":<String_value>,
      "stylebook_params":<String_value>,
      "sb_type":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "adc_waf_bot_profile_config":[{
      "sb_version_info":<String_value>,
      "sb_type":<String_value>,
      "configpack_id":<String_value>,
      "adc_vserver_profile_info":[{
      "ns_ip_address":<String_value>
      "vserver_type":<String_value>
      "instance_id":<String_value>
      "vserver_name":<String_value>}],
      "is_global":<Boolean_value>,
      "stylebook_params":<String_value>}]}

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/adc_waf_bot_profile_config

Query-parameters:

filter

https://<MGMT-IP>/nitro/v2/config/adc_waf_bot_profile_config?filter=property-name1:property-value1,property-name2:property-value2

Use this query-parameter to get the filtered set of adc_waf_bot_profile_config resources configured on the system. You can set a filter on any property of the resource.

pagesize=#no&pageno=#no

https://<MGMT-IP>/nitro/v2/config/adc_waf_bot_profile_config?pagesize=#no&pageno=#no

Use this query-parameter to get the adc_waf_bot_profile_config resources in chunks.

count

https://<MGMT-IP>/nitro/v2/config/adc_waf_bot_profile_config?count=yes

Use this query-parameter to get the count of adc_waf_bot_profile_config resources.

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "adc_waf_bot_profile_config":[{
      "sb_version_info":<String_value>,
      "sb_type":<String_value>,
      "configpack_id":<String_value>,
      "adc_vserver_profile_info":[{
      "ns_ip_address":<String_value>
      "vserver_type":<String_value>
      "instance_id":<String_value>
      "vserver_name":<String_value>}],
      "is_global":<Boolean_value>,
      "stylebook_params":<String_value>}]}

delete

URL:https://<MGMT-IP>/nitro/v2/config/adc_waf_bot_profile_config/

HTTPS Method:DELETE

Request Headers:

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value> }

add

URL:https://<MGMT-IP>/nitro/v2/config/adc_waf_bot_profile_config?onerror=<String_value>

HTTPS Method:POST

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"adc_waf_bot_profile_config": {
      "adc_vserver_profile_info":[{
      "instance_id":<String_value>,
      "ns_ip_address":<String_value>,
      "vserver_name":<String_value>,
      "vserver_type":<String_value>}]
,
      "sb_version_info":<String_value>,
      "configpack_id":<String_value>,
      "is_global":<Boolean_value>,
      "sb_type":<String_value>,
      "stylebook_params":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "adc_waf_bot_profile_config":[{
      "sb_version_info":<String_value>,
      "sb_type":<String_value>,
      "configpack_id":<String_value>,
      "adc_vserver_profile_info":[{
      "ns_ip_address":<String_value>
      "vserver_type":<String_value>
      "instance_id":<String_value>
      "vserver_name":<String_value>}],
      "is_global":<Boolean_value>,
      "stylebook_params":<String_value>}]}